/**
 * author: Hanflyee  flyee1980@163.com
 * vision: v1.0
 * data: 2009-7-9
 */
package com.flyee.viewer{
	
	import com.flyee.controller.ComponentController;
	import com.flyee.utils.DisplayObjectUtil;
	import com.flyee.utils.GenerateIDTool;
	
	import flash.display.Sprite;

	/**
	 * 组件UI
	 */
	public class ComponentViewer extends Sprite implements Destroy{
		
		/**UI元素的ID，必须生成*/
		public var vid : String = GenerateIDTool.generateID();
		
//		public var componentController : ComponentController;
		
		public function ComponentViewer(componentController : ComponentController=null){
			super();
//			this.componentController = componentController;
			
			initListener();
			this.mouseChildren= false;
			this.mouseEnabled = false;
		}
		
		public function initListener() : void {
		
		}
		
		public function dispose() : void {
			DisplayObjectUtil.removeAll(this);
//			componentController = null;
		}
		
	}
	
}